package com.jackstraw.jack_base.datasource.database.parten.entity.bean;

import com.jackstraw.jack_base.datasource.common.entity.DataSourceTemplateCut;
import com.jackstraw.jack_base.datasource.common.factory.DataSourceBuildFactory;
import com.jackstraw.jack_base.datasource.database.parten.entity.DataBaseEntity;


/**
 * 数据库切面类
 *
 * @param <DBE>
 */
public class DataBaseTemplateCut<DBE extends DataBaseEntity<DBE>>
        extends DataSourceTemplateCut<DataBaseTemplate<DBE>, DataBasePropertiesEntity<DBE>> {


    public DataBaseTemplateCut(DataSourceBuildFactory<DataBaseTemplate<DBE>, DataBasePropertiesEntity<DBE>> dataSourceFactory) {
        super(dataSourceFactory);
    }

    @Override
    public DataBaseTemplate<DBE> cut(String tenantName, String dataSourceName, DataBasePropertiesEntity<DBE> propertiesEntity) {
        return super.cut(tenantName, dataSourceName, propertiesEntity);
    }
}
